Teleporters

Teleporters generally consist of 3 pieces: The brush (or group of brushes) that will represent the physical teleporter; the teleport trigger; and the teleport destination entity.

This tutorial will show you how to create a simple set up, with 2 separate rooms, and 2 teleporters so you can jump backwards and forwards between the two.

First step: Create the two separate rooms. I used two large cubes, with different textures. hollowed them, and added one light to the center of each room. In the first room I added the player start entity in one corner.  
Second: Create the brush to represent the teleporter, I just used a simple brush with the teleporter texture applied to it, you can be more decorative than this, or use one of the many slipgate prefabs there are o ut there. Next, you will want to make the actual trigger that will teleport you, because the trigger_teleport entity is invisible. I copied the brush I used as the slipgate, moved it in front of the teleport brush and applied the trigger texture so I can pick it out in the 3d preview window.Apply the trigger_teleport entity to the trigger brush. in the entities properties window select the target tab, and fill it with tele_1. Select both the teleporter and the teleport trigger, group them (select, hit g, select the other, hit g, then hit ctrl-g to finish the group. Then copy this group to the other room (either right click and select copy, then paste it in the other room; or, ctrl-drag with the mouse to the other room. Move as necessary to line it up correctly in the other room. Now, you need to alter the target of the second teleporter. Either ungroup the second teleporter/trigger group, or scope down. Select the trigger, hit the entity properties tab on the taskbar and change tele_1 to tele_2
Third step: You now need to include the two teleport target entities. One MAJOR thing to note here, you do not want to get stuck in an infinite loop where you keep getting thrown back into the teleporters and cannot get out. So, in the corner of the se cond room (make sure you have nothing selected) click add entity, and select teleport destination from the func menu. In the entity properties for this, select targetname, and fill in tele_1. In the fist room, create another desti nation, but this time have the targetname tele_2.

[ Previous | Home | Next ]